const fs = require('fs');
// const fs = require('fs').promises;

fs.readFile('./src/style.min.css', (err, data) =>{
    if(err)
        throw err;
    fs.writeFile('./dist/style.min.css', data.toString(),(err)=>{
        if(err)
            throw err;
        console.log("文件写入成功!"+data.toString());
    })
})